
<div class="form">

    <?php $form = $this->beginWidget('GxActiveForm', array(
        'id' => 'update-user-profile-form',
        'enableClientValidation' => true,
        'htmlOptions' => array('class' => 'well'),
        'clientOptions' => array(
            'validateOnSubmit' => true,
        ),
    ));
    ?>

    <?php echo $form->errorSummary($model); ?>

    <table class="form-grid">
        <tr>
            <td><?php echo $form->labelEx($model,'username'); ?>
            </td>
            <td><?php echo $form->textField($model, 'username', array('disabled'=>'disabled','maxlength' => 20,'class'=>'input-maxlarge')); ?>
            </td>
        </tr>
        <tr>
            <td><?php echo $form->labelEx($model,'fullname'); ?>
            </td>
            <td><?php echo $form->textField($model, 'fullname', array('maxlength' => 40,'class'=>'input-maxlarge')); ?>
            </td>
        </tr>
        <tr>
            <td><?php echo $form->labelEx($model,'email'); ?>
            </td>
            <td><?php echo $form->textField($model, 'email', array('maxlength' => 40,'class'=>'input-maxlarge')); ?>
            </td>
        </tr>
    </table>

    <?php    echo GxHtml::submitButton(Yii::t('app', 'Save')); ?>
    <?php $this->endWidget(); ?>
</div>